package org.rslai.tcedit.business.impl;

import java.util.List;
import org.rslai.tcedit.business.RoleService;
import org.rslai.tcedit.domain.Page;
import org.rslai.tcedit.domain.Role;

/**
 * RoleService 接口的实现<br/>
 * 注意: <tx:annotation-driven /> 这些方法已支持事务
 * 
 * @author rslai
 * 
 * @spring.bean id="roleService"
 */
public class RoleServiceImpl extends AbstractBaseService implements RoleService {

	public List<Role> query(boolean asc) {
		return roleDao.query(asc);
	}

	public List<Role> query(Page page, String name, boolean asc) {
		return roleDao.query(page, name, asc);
	}

	public List<Role> queryBonding(boolean bonding) {
		return roleDao.queryBonding(bonding);
	}

}
